package com.songlanyun.modules.chain.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.songlanyun.common.drive.ValueObject;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 用户账户积分提现
 *
 * @author zhangqh
 */
@Data
public class ChainWithdrawalDTO implements ValueObject {

    private static final long serialVersionUID = 4729775689353742950L;

    /**
     * 用户id
     */
    private Long uid;
    /**
     * 业务流水号
     */
    @JsonProperty(value = "bsId")
    private String bsId;
    /**
     * 提现目标地址
     */
    @JsonProperty(value = "toAddress")
    private String toAddress;
    /**
     * 积分数量
     */
    private BigDecimal amount;
}
